package org.example.service;

import org.example.dto.ClassDto;
import org.example.vo.ClassVo;

import java.util.List;

public interface ClassService {
    Integer addClass(ClassVo classVo);
    Integer updateClass(ClassVo classVo);
    Integer deleteClass(Integer classId);
    List<ClassDto> queryAllClass();
    Integer countClass();
    List<ClassDto> queryClassByDepartmentAndMajorAndGrade(String department, String major, String grade);
    ClassDto queryClassById(Integer classId);
    Integer countClassByDepartmentAndMajorAndGrade(String department, String major, String grade);
}
